package com.sxt.action;

import com.opensymphony.xwork2.Action;
import com.sxt.service.UserService;

public class UserAction implements Action {
	private UserService userService;

	public void setUserService(UserService userService) {
		this.userService = userService;
	}

	@Override
	public String execute() throws Exception {
		userService.addUser();
		return Action.SUCCESS;
	}

}
